package net.tautausan.plist
{
   public class Plist10 extends Plist
   {
       
      
      protected var data:Object;
      
      public function Plist10()
      {
         super();
         this.data = new Object();
      }
      
      public function get root() : Object
      {
         return this.data;
      }
      
      override public function parse(param1:String) : void
      {
         var _loc2_:XML = null;
         var _loc3_:XML = null;
         x = new XML(param1);
         if(x.dict == null)
         {
            this.data = null;
         }
         else
         {
            this.data = new Object();
            for each(_loc2_ in x.dict.*)
            {
               if(_loc2_.name() == "key")
               {
                  _loc3_ = _loc2_;
               }
               else if(_loc3_)
               {
                  this.data[_loc3_] = ParseUtils.valueFromXML(_loc2_);
               }
            }
         }
      }
   }
}
